package com.zzu.peifuyang.socketclient;

import androidx.annotation.NonNull;

public class Register {
    private String sno_number;
    private String sno_name;
    private String sno_phone;
    private String sno_qq;
    private String sno_class;
    private boolean isMajor;
    private static String Interval="0x001Intervalforsevlet";


    public String getSno_number() {
        return sno_number;
    }

    public void setSno_number(String sno_number) {
        this.sno_number = sno_number;
    }

    public String getSno_name() {
        return sno_name;
    }

    public void setSno_name(String sno_name) {
        this.sno_name = sno_name;
    }

    public String getSno_phone() {
        return sno_phone;
    }

    public void setSno_phone(String sno_phone) {
        this.sno_phone = sno_phone;
    }

    public String getSno_qq() {
        return sno_qq;
    }

    public void setSno_qq(String sno_qq) {
        this.sno_qq = sno_qq;
    }

    public String getSno_class() {
        return sno_class;
    }

    public void setSno_class(String sno_class) {
        this.sno_class = sno_class;
    }

    public boolean isMajor() {
        return isMajor;
    }

    public void setMajor(boolean major) {
        isMajor = major;
    }

    @NonNull
    @Override
    public String toString() {
        return sno_number+Interval+sno_name+Interval+sno_phone+Interval+sno_qq+Interval+
                sno_class+Interval+isMajor;
    }
}
